#ifndef __DHelloWorld__H__
#define __DHelloWorld__H__

#include <QObject>
#include <LogUtils>

QT_BEGIN_NAMESPACE

QT_END_NAMESPACE

class DHelloWorld : public QObject
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "com.qt.examples.DHelloWorld")
public:
    explicit DHelloWorld(QObject *parent = nullptr);

public slots:
    void Hello(QString msg);

signals:
    void broadcastMessage(const QString &msg);

private:
    QString content;
};

#endif  //!__DHelloWorld__H__
